package com.dahua.messagesyncbj.business;

import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;

public class Constants {
    public static final String NULL_STRING = "NULL";

    public static final String FAULT_LIST = "faults_list";
    public static final String RECOVER_LIST = "recover_list";
    public static final String EQUIPMENT_HASH = "equipment_hash";
    public static final String SENSOR_HASH = "sensor_hash";
    public static final String LATEST_STATUS_HASH = "latest_status_hash";

    public static final List<String> ORIGINAL_TYPES = Arrays.asList("FT", "ZT", "RXD");
    public static final List<String> MACHINE_TYPES = Collections.emptyList();

    public static volatile boolean IS_INITIALIZE = false;

    public static final HashMap<Character, Integer> CHINESE_NUMBER = new HashMap<Character, Integer>() {{
        put('零', 0);
        put('一', 1);
        put('二', 2);
        put('三', 3);
        put('四', 4);
        put('五', 5);
        put('六', 6);
        put('七', 7);
        put('八', 8);
        put('九', 9);
        put('十', 10);
        put('百', 100);
        put('千', 1000);
        put('万', 10000);
        put('亿', 100000000);
    }};
}
